package com.yanqu.road.logic.bussiness.servercenter;

import com.yanqu.road.entity.servercenter.IpInfo;
import com.yanqu.road.entity.servercenter.whitelist.WhiteIP;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;
import java.util.Map;

public class IpInfoBussiness {

	public static void getWhiteIpList(List<String> playerWhiteIpList, List<String> consoleWhiteIpList, List<String> tempBlackList, List<String> tempAdminList) {
		DaoHelper.getIpInfoDaoImpl().getWhiteIpList(playerWhiteIpList, consoleWhiteIpList, tempBlackList, tempAdminList);
	}

	public static Map<String, IpInfo> getIpInfo() {
		return DaoHelper.getIpInfoDaoImpl().getIpInfo();
	}

	public static List<WhiteIP> getWhiteIPs() {
		return DaoHelper.getIpInfoDaoImpl().getWhiteIPs();
	}
}
